JanetDocsSourcePlaygroundI'm feeling luckyCommunityGitHub sign in

spork/misc/string->int

spork


    function
    /usr/local/lib/janet/spork/misc.janet on line 426, column 1

    (string->int str &opt base)

    Parse an integer in the given base. Defaults to decimal (base 10). 
    Differs from scan-number in that this does not recognize floating 
    point notation.


0 examplesSign in to add an example
Loading...